home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Misc / RZToDoList / Source / ToDoItems.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  898 b   |  33 lines

  1. /* 
  2.  * ToDoItems - protocol defining items stored in a ToDoList
  3.  *
  4.  * You may freely copy, distribute and reuse the code in this example.
  5.  * This code is provided AS IS without warranty of any kind, expressed 
  6.  * or implied, as to its fitness for any particular use.
  7.  *
  8.  * Copyright 1995 Ralph Zazula (rzazula@next.com).  All Rights Reserved.
  9.  *
  10.  */
  11.  
  12. @protocol ToDoItems
  13.  
  14. - initSubject:(char *)subj startDate:(long)start dueDate:(long)due
  15.     completeDate:(long)completed type:(char)type isPrivate:(BOOL)privateFlag
  16.     isCompleted:(BOOL)completeFlag data:(char *)buf dataLen:(int)len;
  17.     
  18. - initFromItem:(id <ToDoItems>)anItem;
  19.  
  20. - (char *)subject;
  21. - (long)startDate;
  22. - (long)dueDate;
  23. - (long)dateCompleted;
  24. - (char)type;
  25. - (BOOL)isPrivate;
  26. - (BOOL)isCompleted;
  27. - (const char *)asciiStartDate;
  28. - (const char *)asciiCompletedDate;
  29. - (const char *)asciiDueDate;
  30. - getData:(char **)d length:(int *)len;
  31.  
  32. @end
  33.